package phoenix.web.test_objects.data_providers;

import phoenix.core.PhoenixManager;
import phoenix.core.base.extensions.TestBaseExt;
import phoenix.core.data_models.TestUserDataModel;
import phoenix.web.test_objects.data_model.NaughtyMode;

/**
 * Created by AlexGolovko on 28.11.2014.
 */
public class NaughtyModeDataProviders extends TestBaseExt
{
	public NaughtyModeDataProviders(PhoenixManager p_manager)
	{
		super(p_manager);
	}

	public Object[][] searchPageData()
	{
		TestUserDataModel p_normal = db().getUser("28ef5941254e11e49ef5441ea14ed80c");
		TestUserDataModel p_sexy = db().getUser("ceab3b0e255e11e49ef5441ea14ed80c");
		TestUserDataModel p_hard = db().getUser("7ba0560f256f11e49ef5441ea14ed80c");

		return new Object[][]
			{
				{ p_normal, NaughtyMode.NORMAL }, // User with photo, expected mode set
				{ p_sexy, NaughtyMode.SEXY },
				{ p_hard, NaughtyMode.HARD }
			};
	}

	public Object[][] galleryData()
	{
		TestUserDataModel p_normal = db().getUser("28ef5941254e11e49ef5441ea14ed80c");
		TestUserDataModel p_sexy = db().getUser("ceab3b0e255e11e49ef5441ea14ed80c");
		TestUserDataModel p_hard = db().getUser("7ba0560f256f11e49ef5441ea14ed80c");

		return new Object[][]
			{
				{ p_normal, NaughtyMode.NORMAL, NaughtyMode.NORMAL }, // User with photo, expected mode set, mode to test
				{ p_sexy, NaughtyMode.NORMAL, NaughtyMode.SEXY },
				{ p_hard, NaughtyMode.NORMAL, NaughtyMode.HARD }
			};
	}

}
